package com.ry.es.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Created by walker on 17-11-22.
 * 所有存到es中的bean都应试从该类继承
 */
public abstract class EsModel
{
    //存储在es中的数据主键
    @JSONField(serialize=false)
    private String documentId;

    public String getDocumentId()
    {
        return documentId;
    }

    public void setDocumentId(String documentId)
    {
        this.documentId = documentId;
    }
}
